Rate Control for Video Splicing Applications

ABSTRACT

Rate control techniques are provided for encoding an input video sequence into a compressed coded bitstream with multiple coding passes. The final coding pass may comprise final splices with non-overlapping frames that do not extend into neighboring final splices. A final splice in the final coding pass may correspond to at least one non-final splice in a non-final coding pass. A non-final splice may have overlapping frames that extend into neighboring final splices in the final coding pass. The overlapping frames in the non-final splice may be used to derive complexity information about the neighboring final splices. The complexity information about the neighboring final splices, as derived from the overlapping frames, may be used to allocate or improve rate control related budgets in encoding the final splice into the compressed coded bitstream in the final coding pass.

CROSS REFERENCE TO RELATED APPLICATIONS

This application a continuation of U.S. patent application Ser. No.16/386,207 filed on Apr. 16, 2019, which is a continuation of U.S.patent application Ser. No. 15/934,906 filed on Mar. 23, 2018, whichissued as U.S. Pat. No. 10,326,996 on Jun. 18, 2019, which is acontinuation of U.S. patent application Ser. No. 15/451,689 filed onMar. 7, 2017, which issued as U.S. Pat. No. 9,961,348 on May 1, 2018,which is a continuation of U.S. patent application Ser. No. 14/938,653filed on Nov. 11, 2015, which issued as U.S. Pat. No. 9,699,454 on Jul.4, 2017, which is a continuation of U.S. patent application Ser. No.13/784,677 filed on Mar. 4, 2013, which issued as U.S. Pat. No.9,197,888 on Nov. 24, 2015, which claims the benefit of priority to U.S.Provisional Patent Application No. 61/610,407 filed on Mar. 13, 2012entitled “Overlapped Rate Control for Video Splicing Applications” byAthanasios Leontaris et. al., all of which are hereby incorporated byreference in their entirety.

TECHNOLOGY

The present invention relates generally to video coding and moreparticularly to rate control in video coding.

BACKGROUND

Rate control is an integral component of modern video compressionsystems. A compressed bit stream satisfies specific bandwidth and delayconstraints that are imposed by the transmission medium. Theseconstraints can be satisfied through rate control. Rate controlalgorithms vary the number of bits allocated to each picture, colorcomponent, set of blocks, or individual blocks, so that encoder anddecoder buffer overflows and underflows may be avoided, and the targetbit rate may be achieved with high accuracy. A basic unit may be acollection of adjacent pictures (or frames). Bit rate and complexitystatistics may vary greatly among splices.

An objective of a video compression system is high compressionperformance, e.g., to achieve the lowest possible distortion given afixed target number of bits for the compressed bit stream orequivalently to send the minimum possible number of bits for a fixeddistortion value. An example of distortion measurement is peaksignal-to-noise ratio (PSNR). Video encoders produce a compressed bitstream such that when a compliant decoder mechanism (e.g., ahypothetical reference decoder) decodes the compressed bit stream, areconstructed video sequence is generated that can be displayed andviewed at a receiver side. It should be appreciated that a storage ortransmission medium can send such a compressed bit stream to a receiverto be decoded in a variety of transport modes. Each one of thesetransport modes can have different delay and bandwidth constraints.Streaming the same bitstream over a network that lacks bandwidth tosupport such a bit rate may affect performance.

A mechanism for generating compressed bit streams that satisfy thebandwidth and delay constraints is rate control. Rate control mayminimize visual distortion, generate bits that fit the communicationchannel, and may deter decoder input buffer overflow or starvation(e.g., that may result in an underflow).

The approaches described in this section are approaches that could bepursued, but not necessarily approaches that have been previouslyconceived or pursued. Therefore, unless otherwise indicated, it shouldnot be assumed that any of the approaches described in this sectionqualify as prior art merely by virtue of their inclusion in thissection. Similarly, issues identified with respect to one or moreapproaches should not assume to have been recognized in any prior art onthe basis of this section, unless otherwise indicated.

BRIEF DESCRIPTION OF DRAWINGS

The present invention is illustrated by way of example, and not by wayof limitation, in the figures of the accompanying drawings and in whichlike reference numerals refer to similar elements and in which:

FIG. 1 illustrates a video sequence divided into multiple splices formulti-pass coding under some techniques;

FIG. 2 illustrates a video sequence covered by splices comprisingdifferent numbers of frames in different coding passes in an exampleembodiment;

FIG. 3 illustrates a block diagram of a multi-pass rate control encodingsystem (300), in an example embodiment;

FIG. 4 illustrates a block diagram of a multi-pass rate control encodingsystem (300), in an example embodiment;

FIG. 5A and FIG. 5B illustrate a method of processing an input videosequence, in an example embodiment;

FIG. 6 illustrates a process flow, according to example embodiments; and

FIG. 7 illustrates an example hardware platform on which a computer or acomputing device as described herein may be implemented, according to anembodiment of the present invention.

DESCRIPTION OF EXAMPLE EMBODIMENTS

Example embodiments, which relate to rate control in video coding, aredescribed herein. In the following description, for the purposes ofexplanation, numerous specific details are set forth in order to providea thorough understanding of the present invention. It will be apparent,however, that the present invention may be practiced without thesespecific details. In other instances, well-known structures and devicesare not described in exhaustive detail, in order to avoid unnecessarilyoccluding, obscuring, or obfuscating the present invention.

Example embodiments are described herein according to the followingoutline:

-   -   1. GENERAL OVERVIEW    -   2. RATE CONTROL    -   3. MULTIPLE-PASS RATE CONTROL ENCODING SYSTEMS    -   4. EXAMPLE PROCESS FLOWS    -   5. IMPLEMENTATION MECHANISMS—HARDWARE OVERVIEW    -   6. EQUIVALENTS, EXTENSIONS, ALTERNATIVES AND MISCELLANEOUS

1. GENERAL OVERVIEW

This overview presents a basic description of some aspects of an exampleembodiment of the present invention. It should be noted that thisoverview is not an extensive or exhaustive summary of aspects of theexample embodiment. Moreover, it should be noted that this overview isnot intended to be understood as identifying any particularlysignificant aspects or elements of the example embodiment, nor asdelineating any scope of the example embodiment in particular, nor theinvention in general. This overview merely presents some concepts thatrelate to the example embodiment in a condensed and simplified format,and should be understood as merely a conceptual prelude to a moredetailed description of example embodiments that follows below.

Rate control techniques are provided for encoding an input videosequence with multiple coding passes. The input video sequence may becovered by a set of splices in a coding pass to facilitate parallelprocessing. For instance, the input video sequence may be covered by aset of (final) splices in the final coding pass. A final splicecomprises a number of frames that do not overlap with neighboring framesin neighboring final splices (adjacent to the final splice).

A non-final splice in a non-final coding pass may correspond to one ormore final splices in the set of final splices in the final coding pass.In contrast to a final splice comprising non-overlapping frames, anon-final splice that corresponds to a final splice may comprise bothnon-overlapping frames that are located within the final splice andoverlapping frames that extend into neighboring final splices adjacentto the final splice.

The overlapping frames in the non-final splice may belong to neighboringfinal splices and hence may be used to derive information about theneighboring final splices. The information about the neighboring finalsplices, as derived from the overlapping frames, may be used to allocateor improve rate control related budgets in encoding frames in the finalsplice into the compressed coded bitstream in the final coding pass. Forexample, if the information derived from the overlapping frames of aparticular final splice indicates that a neighboring final splice to theparticular final splice is difficult to code or contains frames thatneed details for downstream decoders, bit allocation for the particularfinal splice may be decreased and saved bits may be allocated to theneighboring final splice. On the other hand, if information derived fromoverlapping frames of a particular final splice indicates that aneighboring final splice is easy to code or contains frames that do notneed as much details as possible, bit allocation for the particularfinal splice may be increased to improve coding quality of theparticular final splice.

In some embodiments, a multi-pass encoding system as described hereinmay be configured to perform global and/or splice-specific operationsincluding but not limited to global bit allocation, based on neighboringoverlapping information, to improve subjective and objective qualitiesof the overall compressed video bitstream.

In some embodiments, a final splice and one or more correspondingnon-final splices may be processed by splice processing units (or ratecontrol modules) that require no communication with other spliceprocessing units that operate on other final splices and non-finalsplices corresponding to the other final splices. Thus, in theseembodiments, splicing processing units are configured to obtaininformation about neighboring splices without communicating with othersplicing processing units that process these neighboring splices, and toperform efficient and high-performance parallel processing of the inputvideo sequence.

Sizes of overlapping portions in terms of numbers of overlapping frames(e.g., in splices of a non-final coding pass) may be preconfigured, ordynamically adjusted, for example, based on results indicated by priorcoding passes. In some embodiments, a pre-analysis coding pass may beused to generate overall and/or local statistics about the input videosequence. The statistics may be taken into consideration in decidingsizes of overlapping portions for non-final splices in subsequentnon-final coding passes in a global and/or location dependent way forvarious locations of the input video sequence.

In some embodiments, overlapping frames, which are not be coded duringthe final coding pass, may be coded/represented in a non-final codingpass with a computational complexity and/or with a spatial resolutionlower than that with which non-overlapping frames are coded/representedin the non-final coding pass. For example, spatial and/or temporalsubsampling may be used to process overlapping frames in non-finalcoding passes for the purpose of reducing computational time.

In some example embodiments, mechanisms as described herein form a partof a media processing system, including but not limited to any of: ahandheld device, game machine, television, laptop computer, netbookcomputer, tablet computer, cellular radiotelephone, electronic bookreader, point of sale terminal, desktop computer, computer workstation,computer kiosk, or various other kinds of terminals and media processingunits.

Various modifications to the preferred embodiments and the genericprinciples and features described herein will be readily apparent tothose skilled in the art. Thus, the disclosure is not intended to belimited to the embodiments shown, but is to be accorded the widest scopeconsistent with the principles and features described herein.

2. RATE CONTROL

Rate control is a component that performs a critical function in a videoencoder. Rate control under techniques as described herein ensures thata generated compressed video bitstream (a) achieves a specific targetbit rate, (b) satisfies maximum average bit rate constraints, and (c)satisfies reference decoder (e.g., buffering delay) constraints, amongothers. Given specific bit rate and buffering constraints, rate controlmay also be used to optimize the video quality of the compressed videobitstream.

Satisfying constraint (a) ensures that the compressed video bitstreamfits the communication pipe or storage space used for transmission andbuffering. For example, a wireless network may only allow up to 768 kbpsfor video transmission. This is in contrast to, for example, a Blu-Raydisc device, which may allow up to 40 Mbps of bandwidth for 2D videoapplications and 60 Mbps of bandwidth for 3D video applications. Thesevideo applications may be configured to use codecs, for example, basedon an H.264/MPEG-4 AVC video coding standard.

In some embodiments in which very high bandwidth is provided (e.g., forapplications such as archival applications reading from a hard drive),in addition to, or in place of, constraint (a), one may optionallyand/or alternatively specify a constraint for a total size of a (final)generated bitstream file.

Constraint (b) is an important aspect as playback devices may beconfigured to only store and decode a certain number of bits per second.During an encoding process, the average bit rate for the entirecompressed bitstream may achieve a configured target bit rate, but theaverage bit rate for individual portions of the compressed bitstream mayexceed the configured target bit rate locally, for example for aduration of some seconds. Often this happens because difficult-to-codeportions usually require additional bits (or bitstream “spikes”) toensure consistently high video quality. However, these bitstream“spikes”, provided they are large enough, may create problems forresource-constrained decoders. Problems that affect such a decoderinclude either overflowing internal buffers or an inability to decodethe bitstream in time to display frames in the correct order and withproper timing. Significantly, constraint (c) is closely related toconstraint (b) and can be thought of as a more rigorous set ofrequirements that a compressed video bitstream has to satisfy. In short,the compressed video bitstream has to be coded such that, if transmittedat the target bit rate, the compressed video bitstream does not cause adecoder buffer overflow or underflow, and as a result, video decodedfrom the compressed video bitstream does not stall or stop duringplayback.

To ensure the best possible video quality given the above bit rate andbuffering constraints, rate control may be accomplished with more thanone coding pass. For example, rate control may use information drawnfrom one or more non-final coding passes to best meet the bit rate andperformance constraints in the final coding pass.

Examples of the information drawn from non-final coding passes mayinclude, but are not limited to any of, complexity measures, such as thenumber of header bits and the number of texture bits generated for aspecific frame type and the quantization parameter (QP). The informationmay be used to improve bit rate accuracy and help satisfy the bit rateand buffering constraints.

As used herein, header bits may comprise bits used to code motioninformation, coding modes, block types, parameter sets, as well asinformation (such as video usability descriptors) optional to a decodingprocess. Texture bits may comprise bits used to code transformedcoefficients of inter or intra prediction residuals. In someembodiments, the texture bits form the bulk of a compressed videobitstream especially for high bit rate video applications.

Besides being used for rate control purposes, the information drawn fromnon-final coding passes may also be used to greatly improve the qualityof the compressed video bitstream. For example, the availability ofcoding statistics for a video sequence enables one to efficientlyallocate bits in segments of the video sequence where the bits generatethe most beneficial results (e.g., as measured in terms ofrate-distortion performance). Allocation of additional bits indifficult-to-code portions (e.g., high motion scenes, scenes with lotsof texture, fades, scene changes, flashes, etc.) as compared to, forexample, static scenes, improves the overall quality, both subjectivelyand objectively. The more coding passes, the better the video qualitythat may be achieved given a configured bit rate budget. However, theremay exist a point of diminishing returns, beyond which the return oncoding gain may be trivial compared to added computational costs. Hence,there is a need to constrain computational complexity duringmultiple-pass coding.

To implement rate control video encoding with multiple processors and/orcomputers, it may be computationally efficient to break up a videosequence into segments (splices) and to code individual segments inparallel. The coding of an individual segment may be performedindependently of the coding of all other segments. Multiple-pass codingmay be applied in coding frames in each individual final splice of thevideo sequence. After all final splices have been coded into theirrespective compressed video bitstreams, the compressed video bitstreamsfrom all final splices may be combined to form an overall compressedvideo bitstream for the video sequence.

FIG. 1 illustrates a video sequence (102) divided into multiple splicesfor multi-pass coding, in an example embodiment. The video sequence 102is divided into a plurality of segments or splices. For the purpose ofillustration only, the number of splices in the video sequence 102 is Ssplices in total. Three splices (e.g., 102-1 through 102-3) of the videosequence (102) are depicted in FIG. 1. Multiple-pass coding may beapplied with at least two coding passes. For the purpose of illustrationonly, the number of coding passes is P (which is an integer greater thanone (1)) passes in total. Three splices (e.g., 104-1 through 104-3) ofone or more first (P−1) coding passes (104) and three splices (e.g.,106-1 through 106-3) of the final coding pass (106) are depicted in FIG.1.

For splice i (which may equal 1, 2, 3, or another integer) of the videosequence (102), Ni frames may be considered in the first (P−1) codingpasses (104) and Mi frames are considered during the final coding pass(106). Under these techniques, multiple-pass rate control algorithms maycode the same sets of frames in each coding pass (any of the P codingpasses 104 and 106) yielding Ni=Mi.

Under these techniques, compression performance may deteriorate, sincebit allocation may only be adapted within each individual splice.Furthermore, buffering and/or average bit rate requirements may beviolated at boundaries between adjacent splices, since each splice mayhave been coded independently. Hence, while they are useful in terms ofspeeding up encoding jobs, splicing as illustrated in FIG. 1—which isdifferent from that under techniques as described herein—may createsevere video quality, buffering, and average bit rate issues.

In contrast, techniques as described herein may be used to performmultiple-pass rate control in splicing that improves compressionperformance and helps meet bit rate and buffering constraints. Under thetechniques as described herein, each coding pass need not consider thesame set of frames or the same number of frames for a given splice of avideo sequence.

FIG. 2 illustrates a video sequence covered by splices comprisingdifferent numbers of frames in different coding passes in an exampleembodiment. For the purpose of illustration, the video sequence may bethe same as the video sequence (102) of FIG. 1.

Under techniques as described herein, at least two coding passes, forexample P (which is an integer greater than one (1)) coding passes(e.g., 204 and 206) in total, may be used to code the video sequence(102) into a compressed video bitstream. In some embodiments, P is two(2); thus, in these embodiments, 204 of FIG. 2 represents a first codingpass, while 206 of FIG. 2 represents a second and final coding pass. Insome embodiments, P is two or more; thus; in those other embodiments,204 of FIG. 2 represents one or more first coding passes, while 206 ofFIG. 2 represents the last coding pass.

As used herein, the terms “corresponding splices” refer to a splice of avideo sequence and two or more splices, in respective coding passes,that cover the splice of the video sequence. Different sets and numbersof frames may be coded in corresponding splices in the P coding passes.

In some embodiments, the number of frames considered in a splice in acoding pass may be greater than or equal to the number of framesconsidered in a corresponding splice in a successive coding pass. Forexample, three coding passes comprising a first coding pass, a secondcoding pass and a final coding pass may be used to process a videosequence. A first number of frames considered in a splice in the firstpass may be greater than or equal to a second number of framesconsidered in a corresponding splice in the second coding pass. Thesecond number of frames considered in the corresponding splice in thesecond pass may be greater than or equal to a third number of framesconsidered in a corresponding splice in the third and final coding pass.

As illustrated in FIG. 2, Ni frames may be considered in a splice in oneor more first (P−1) coding passes (204), and Mi frames may be consideredin a corresponding splice in the final coding pass (206). Ni may beequal to or greater than Mi. In some embodiments, the number of framesconsidered in at least one splice (e.g., 204-2) in non-final (P−1)coding passes (204) is greater than the number of frames considered in acorresponding splice (206-2) in the final coding passes (206).

This leads to overlaps between sets of frames (e.g., N2 in splice 204-2)considered in one or more non-final coding passes (204) for a splice(102-2) of a video sequence (102) and sets of frames (M1 in splice 206-1and M3 in splice 206-3) considered in subsequent passes (206) for itsneighboring splices (102-1 and 102-3) of the video sequence (102). Suchan overlap may be as small as zero or more than one splice of the entirevideo sequence. This results to processing more frames in the non-finalcoding passes than those actually coded in the final coding pass.

As illustrated in FIG. 2, a splice (e.g., 204-2) in one of the one ormore first coding passes (e.g., 204) may overlap its neighboring splices(204-1 and 204-3) in coding pass (204) by a number of frames, forexample 24 frames. In contrast, a splice (206-2) in the final codingpass (206) does not overlap its neighboring splices (206-1 and 206-3) inthe same final coding pass (206). In these embodiments, splices (e.g.,102-1 through 102-3) of the video sequence match corresponding splices(206-1 through 206-3) of the final coding pass (206) in terms of numbersof frames in splices respectively in the video sequence (102) and in thefinal coding pass (206).

In some embodiments, the set of frames (e.g., N2) considered in a splice(204-2) in a coding pass (204) extends into a splice (e.g., 102-1), of avideo sequence (102), to which the splice (204-2) in the coding pass(204) does not correspond. For example, the set of frames considered insplice (204-2) has an overlapping portion (e.g., 4 overlapping frames),among its total N2 frames, that are frames in splice 102-1 of the videosequence 102.

In some embodiments, overlapping frames (e.g., the 4 overlapping framesof splice 204-2) considered in a splice (204-2) of a non-final codingpass (204) are not coded into a compressed video bitstream for acorresponding splice (206-2) in the final coding pass (206). However,the overlapping frames considered in the non-final coding pass (204) maybe used to evaluate complexity of the splice (102-1) of the videosequence (102) which the overlapping frames overlap. Results of thiscomplexity evaluation from the non-final coding pass (204) may be usedto improve rate control for a corresponding splice (206-2) in the finalcoding pass (206). The rate control improvement based on results ofcomplexity evaluation of frames overlapping adjacent splices, asdescribed herein, may be repeatedly performed for each splice (e.g.,102-1, 102-2, 102-3, etc.) of a video sequence (102).

As discussed above, frames considered in a splice (e.g., 204-2) of anon-final coding pass (204) may comprise overlapping frames that are notcoded in a corresponding splice (206-2) of the final coding pass (206),and non-overlapping frames that are coded in the corresponding splice(206-2) of the final coding pass (206). In one embodiment, if theoverlapping frames are of higher average complexity (more difficult tocode or more critical for subjective quality) than the non-overlappingframes, a rate control module implementing techniques as describedherein may reduce the number of bits allocated for the correspondingsplice (206-2) of the final coding pass (206) so that bits may be savedand used for coding other splices (e.g., 206-1 or 206-3) with highercomplexity than that of the corresponding splice (206-2) of the finalcoding pass (206).

On the other hand, if the overlapping frames are of lower averagecomplexity (less difficult to code or less critical for subjectivequality) than the non-overlapping frames, the rate control module mayincrease the number of bits allocated for the corresponding splice(206-2) of the final coding pass (206).

In some embodiments, a rate control system as described herein maycalculate a bit target for a splice (102-1, 102-2, 102-3, etc.) of avideo sequence (102) as if overlapping frames (e.g., A overlappingframes within Ni frames) considered in a corresponding splice (204-1,204-2, 204-3, etc.) of a non-final coding pass (204) were to be coded inthe final coding pass (206). The rate control system may allocate one ormore such bit targets for one or more splices (102-1, 102-2, 102-3,etc.) of the video sequence (102) in the final coding pass (206). Themulti-pass encoding system may still code non-overlapping frames (e.g.,Mi frames) for a splice of the final coding pass (206). However, themulti-pass encoding system may perform one or more global and/orsplice-specific operations, based on neighboring overlappinginformation, to improve subjective and objective qualities of theoverall compressed video bitstream.

In some embodiments, sizes of overlapping portions comprisingoverlapping frames (e.g., in splices of a non-final coding pass) may bearbitrarily chosen. In an example, the same number of overlapping framesis chosen for all overlapping portions. Additionally, optionally, oralternatively, one of a plurality of numbers of overlapping frames maybe chosen for a specific overlapping portion between a splice of anon-final coding pass and a neighboring splice of the final coding pass.

In some embodiments, sizes of overlapping portions may be chosen basedon one or more criteria including, but not limited to any of,sequence/splice statistics and encoder constraints. Information aboutthe content (e.g., sequence/splice statistics) may be made availablethrough one or more preliminary stages of pre-analysis. The informationabout the content may then be used to adapt the size of overlappingportion for each splice (e.g., in a non-final coding pass).

An example of criterion for deciding the size of an overlapping portionof a splice (e.g., 204 of FIG. 2) of a non-final coding pass (204) maybe the similarity of a corresponding splice (102-2) of a video sequence(102) with neighboring splices (102-1 and 102-3) of the video sequence(102). For example, there may be little incentive to have a largeoverlapping portion when the content involved in two neighboring splicesof the video sequence (102) is similar across the two neighboringsplices. Thus, in some embodiments, if frame complexities (which may beavailable through the one or more pre-analysis stages) or spatial and/ortemporal statistics appear sufficiently similar, then the overlappingportion may be reduced in size. Otherwise, the overlapping portion maybe increased in size.

In some embodiments, overlapping frames, which are not be coded duringthe final coding pass, may be coded/represented in a non-final codingpass either with a computational complexity and/or a spatial resolutionlower than that with which non-overlapping frames are coded/representedin the non-final coding pass. In some embodiments, instead of using afull frame size, one or more segments or partial splices (e.g.,cropping) of overlapping frames may be used to represent the overlappingframes in a non-final coding pass. In some embodiments, temporalsub-sampling may be used to employ a subset of overlapping frames torepresent the overlapping frames in a non-final coding pass. Thesespatial or temporal sub-sampling strategies for reducing computationalcomplexity and/or spatial/temporal resolution may be regular (e.g. oneout of every two overlapping frames), arbitrary (e.g. some randomsampling pattern among the overlapping frames), or be guided using somea priori knowledge (e.g. through pre-analysis) about the content.Additionally, optionally, or alternatively, when information about thecontent is incorporated in adopting specific spatial or temporalsub-sampling strategies, overlapping frames constituting more“interesting” areas such as high motion segments, scene change frames,etc., may be coded/represented with relatively high computationaldetails and high spatial/temporal resolutions than less “interesting”areas that lack of such features.

3. MULTIPLE-PASS RATE CONTROL ENCODING SYSTEMS

FIG. 3 illustrates a block diagram of a multi-pass rate control encodingsystem (300), in an example embodiment. For a total number of codingpasses (P) no less than two (2), the numbers of frames in correspondingsplices of the P coding passes for a given splice i of the videosequence (102) may vary from one coding pass to another. For the purposeof illustration only, Ni,j may be used to denote the number of framesconsidered during the j-th coding pass of the i-th splice of a videosequence; hence, these Ni,j frames considered in the j-th coding passconstitute a corresponding splice in the j-th coding pass for the i-thsplice of the video sequence. The first index i takes values from 0 toS−1, where S is the number of splices in a video sequence. The secondindex j takes values from 0 to P−1, where P is the number of codingpasses. For the purpose of illustrations, when j equals (P−1) in thefinal coding pass, Ni,j may also be denoted as Mi.

A splicing module (302) in the rate control encoding system (300) may beconfigured to receive an input video sequence and sub-divide it intosplices (frame subsets) that may be coded by different encoders.Additionally, optionally, or alternatively, the splicing module (302)may be configured to determine initial overlapping portions forindividual coding passes. These initial overlapping portions may befurther modified in subsequent coding passes. For example, rate control(RC) modules (RCi, j, where i is an integer of 0 to (S−1), and j is aninteger of 0 to (P−1)) in the rate control encoding system (300) may beconfigured to process coding statistics of non-final coding passes ifpossible and to generate coding statistics for subsequent coding passesif possible. The RC modules (RCi, j) may be configured to overridedecisions by the splicing module (302) regarding the initial overlappingportions. The RC modules (RCi, j) may be configured to perform theseoperations, even if inter-communication across the RC modules (RCi, j)with different splice indexes (different values of j) may not beavailable.

In some embodiments, a pre-analysis module (304) is configured toreceive the input video sequence or a copy thereof and to performanalysis on the content of the video sequence. Results of the analysisand/or statistics about the content derived by the pre-analysis module(304) may be provided to the splicing module (302), which in turn may beconfigured to use the provided information from the pre-analysis module(304) to determine/optimize the sizes of the overlapping frames forindividual splices to be processed by the RC modules (RCi, j) in thefirst coding pass.

In some embodiments, the rate control modules (RCi, j) that belong todifferent splices (different values of i) in a coding pass (e.g., j-thcoding pass) are not required to communicate with one another. Such aconfiguration ensures easy parallelization of the coding process, sincetasks performed by the rate control modules (RCi, j) for differentsplices of the coding pass (j-th coding pass) do not have to besynchronized and may be independently performed by the rate controlmodules (RCi, j).

In some embodiments, the rate control modules (RCi, j) that belong todifferent splices (different values of i) in one or more coding passes(with one or more j values) are allowed to communicate with one another.Such a configuration may require synchronization among tasks performedby the rate control modules (RCi, j) for different splices of the one ormore coding passes (with the one or more j values), thereby result insome slowdown since the rate control modules (RCi, j) have tocommunicate with one another. However, performance may benefit sinceinformation from other splices may be available to a rate control modulefor a specific splice. Such information may include, but is not limitedto, that derived from non-overlapping frames. Communication between therate control modules (RCi, j) also helps to more accurately achieve thetarget bit rate for the overall video sequence.

As shown in FIG. 3, splices (e.g., Ni, j) in a prior coding pass (e.g.,j=0, 1, . . . , or (P−2)) may consider no fewer frames thancorresponding splices (Ni, k) in a later coding pass (k=j+1, j+2, etc.).A rate control algorithm implemented by a rate control module (RCi, P−1)for a splice (Mi) in the final coding pass (P−1) may take into accountinformation derived in overlapping frames one or more splices (e.g.,Ni−1, P−2, Ni+1, P−2, etc.) in one or more prior coding passes (e.g.,j=0, 1, . . . , or (P−2)) to optimize bit allocation for the finalcoding pass (P−1). In some embodiments, some of the one or more splices(Ni−1, P−2, Ni+1, P−2, etc.) in the one or more prior coding passes(j=0, 1, . . . , or (P−2)) correspond to one or more neighboring splices(Mi−1 and Mi+1) of the splice (Mi) in the final coding pass (P−1). Insome embodiments, the overlapping frames in the one or more prior codingpasses (j=0, 1, . . . , or (P−2)) comprise at least some overlappingframes in the neighboring splices (Mi−1 and Mi+1) in the final codingpass (P−1).

If, for example, in coding the current splice (Mi), overlapping framesin a neighboring splices (Mi−1 or Mi+1) are of higher average complexity(more difficult to code or more critical for subjective quality), therate control module (RCi, P−1), or the rate control algorithm performedthereby, may be configured to reduce the number of bits allocated to thecurrent splice (Mi) during the final coding pass (P−1) so that bits canbe saved and used when coding the neighboring splices (Mi−1 or Mi+1)with higher complexity. On the other hand, if the overlapping frames inneighboring splices (Mi−1 or Mi+1) are of lower average complexity (lessdifficult to code or less critical for subjective quality), the ratecontrol module (RCi, P−1), or the rate control algorithm performedthereby, may be configured to increase the number of bits allocated tothe current splice (Mi) during the final coding pass (P−1).

The process as described above may be iterated for all splices of theinput video sequence from a first coding pass to the final coding pass.

In some embodiments, the iteration of the process may be independentlyperformed for each individual splice of the input video sequence becauserate control modules (RCi, j) for a current splice (e.g., the i-thsplice) of the input video sequence may obtain information about itsneighboring splices through overlapping frames considered in priorcoding passes without obtaining the information about its neighboringsplices from rate control modules (RCi−1, j and RCi+1, j) that processthe neighboring splices. For example, a chain of rate control modules(e.g., formed by RCi, 0, RCi, 1, . . . , and RCi, P−1) that isconfigured to generate a splice-level coded bitstream for an i-th spliceof the input video stream may run independently (e.g., in parallel)without communicating with other chains of rate control modules (e.g.,formed by RCi−1, 0, RCi−1, 1, . . . , and RCi−1, P−1) that areconfigured to generate splice-level coded bitstreams for other splices(e.g., i−1) of the input video stream.

Additionally, optionally, or alternatively, inter-splice communicationor byte stuffing with pre-determined buffer levels may also be used tocoordinate the processing of different splices. Additionally,optionally, or alternatively, a large number of splices may be used todivide the input video sequence. For example, in some embodiments, achain of rate control modules (e.g., formed by RCi, 0, RCi, 1, . . . ,and RCi, P−1) that is configured to generate a splice-level codedbitstream for an i-th splice of the input video stream may runcooperatively (e.g., in parallel but with synchronization orcoordination as necessary) and communicate with other chains of ratecontrol modules (e.g., formed by RCi−1, 0, RCi−1, 1, . . . , and RCi−1,P−1) that are configured to generate splice-level coded bitstreams forother splices (e.g., i−1) of the input video stream.

In some embodiments, a bitstream multiplexer (306) in the multi-passrate control encoding system (300) may be configured to generate, basedon splice-level coded bitstreams from the final coding pass (P−1), acompressed video bitstream as output.

FIG. 4 illustrates a block diagram of a multi-pass rate control encodingsystem (300), in an example embodiment. In some embodiments, the numberof splices in each coding pass may not be the same. For example, thei-th coding pass may comprise more or fewer splices than the j-th codingpass. Thus, in these embodiments, the number of splices, S, may varyfrom one coding pass to another coding pass. Information derived in aprior coding pass may comprise identifiers which a later coding pass maybe configured to use to determine whether the information pertains tonearby (which may or may not be neighbors) or neighboring splices to acurrent splice in a later coding pass. The identifiers may be, but arenot limited to, unique frame numbers. In some embodiments, all codingpasses may comprise more than one splice. In some embodiments, at leastone coding pass may comprise only one splice.

In some embodiments, a splice in a prior coding pass may overlap morethan one splice of the final coding pass. In a particular embodiment,one of one or more prior coding passes may comprise an entire videosequence as a single splice. For example, as illustrated in FIG. 4, inthe first coding pass, pre-analysis (404) may be first run over theentire video sequence as a single splice, or alternatively two or moresplices each covering one or more splices of the final coding pass(P−1). In some embodiments, a single processor or machine may performthis coding pass. In some embodiments, a splicing module (402) in themulti-pass rate control encoding system may be configured to split theinput video sequence into multiple splices following the first codingpass. Information derived from the coding pass related to the entirevideo sequence may be provided to one, two, or more machines orprocessors (e.g., rate control modules 408-0 through 408-(S−1), . . . ,and 410-0 through 410-(S−1)) that perform one or more subsequent codingpasses including the final coding pass.

Overlapping information (derived from overlapping frames of one or moreprior coding passes before the final coding pass) may be used inmitigating violations of maximum average bit rate and decoder bufferingconstraints. As noted previously, in some embodiments, a rate controlmodule for a splice (e.g., i-th splice) in the final coding passcalculates all bit targets as if both overlapping and non-overlappingframes would have been coded. Additionally, optionally, oralternatively, during the calculation, the rate control module may alsobe configured to use the buffering and maximum average bit rateconstraints. During actual encoding of Mi frames in the splice, the ratecontrol module adopts those target bit rates. Doing so may ensureoptimal compliance (relative to not allocating bits for overlappingframes) with the buffering/delay and maximum average bit rateconstraints including but not limited to reference decoderconsiderations/behaviors that would be configured to decode a resultantcompressed video bitstream.

Additionally, optionally, or alternatively, in FIG. 3 and FIG. 4, one ormore coding passes before the final coding pass may not befull-complexity coding passes, but some low-complexity coding passes.Additionally, optionally, or alternatively, such a coding pass may alsobe replaced by a pre-processor analysis pass that does not produce anycoded bitstreams but instead produces statistics that may be useful to arate control algorithm performed in a later coding pass. Additionally,optionally, or alternatively, complexity in a non-final coding pass maybe further reduced by utilizing spatial and/or temporal subsamplingtechniques. For instance, a non-final coding pass or a pre-analysis passmay use lower complexity coding tools (which may or may not use multiplesplices with overlapping frames, one or more initial splices coveringmultiple splices in the final coding pass, etc.). Subsequent passes mayuse temporal sub-sampling to derive one or more translationrelationships that may be used to correct complexity statistics beforethe complexity statistics are used in the last coding pass.

4. EXAMPLE PROCESS FLOWS

FIG. 5A illustrates a method of processing an input video sequence, inan example embodiment. In block 502, a multi-pass encoding system asdescribed herein performs one or more coding passes at least one ofwhich involves more frames (e.g., Ni of FIG. 2, where i=1, 2, 3, etc.)than the splice frames (Mi). As used herein, the term “the spliceframes” refer to Mi frames in a final splice that corresponds to anon-final splice comprising the Ni frames. Thus, Ni frames compriseoverlapping frames that are not actually coded in the final coding pass.

In block 504, the multi-pass encoding system allocates bit rate andcoding parameters for the Ni frames. In block 506, the multi-passencoding system codes and performs rate control for the Mi frames byconsidering the bit allocation derived in block 504.

In some embodiments, the allocation of the bit rate and codingparameters is based on coding Mi frames in the final coding pass. Thus,in these embodiments, the overlapping frames may be used to providecomplexity information about neighboring final splices, but are notallocated bits or performance budgets since the overlapping frames arenot coded in the final coding pass.

In some embodiments, the allocation of the bit rate and codingparameters is based on coding Ni frames in the final coding pass. Thus,in these embodiments, extra bits and performance budgets are allocatedfor the overlapping frames as if the overlapping frames were to be codedin the final coding pass. The multi-pass encoding system may use theextra bits and performance budgets to improve the subjective andobjective quality of a coded bitstream generated from the Mi frames ofthe final splice.

FIG. 5B also illustrates a method of processing an input video sequence,in an example embodiment. In block 552, a multi-pass encoding system asdescribed herein performs one or more coding passes at least one ofwhich involves more frames (e.g., Ni of FIG. 2, where i=1, 2, 3, etc.)than the splice frames (Mi) in the final coding pass.

In block 554, the multi-pass encoding system allocates bit rate andcoding parameters for the Ni frames.

In block 556, the multi-pass encoding system applies hypotheticalreference decoder (HRD) considerations during rate control operationsand modifies the allocation derived in block 554 to satisfy theconstraints relating to HRD. In block 558, the multi-pass encodingsystem codes and performs rate control for the Mi frames by consideringthe bit allocation derived in blocks 554 and 556.

The allocation of the bit rate and coding parameters may be based oncoding Mi frames in the final coding pass or based on coding Ni framesin the final coding pass.

FIG. 6 illustrates a process flow according to an example embodiment ofthe present invention. In some example embodiments, one or morecomputing devices or components may perform this process flow. In block602, a multi-pass encoding system (e.g., as illustrated in FIG. 3 orFIG. 4) divides an input video sequence into a plurality of finalsplices to be coded in a final coding pass.

In block 604, the multi-pass encoding system performs one or morenon-final coding passes before the final coding pass. At least one ofthe one or more non-final coding passes comprises a non-final splicethat corresponds to a final splice in the plurality of splices to becoded in the final coding pass. The non-final splice may comprise moreframes than frames in the final splice.

In block 606, the multi-pass encoding system allocates one or more ratecontrol related budgets for the final splice based on informationderived from the non-final splice in the one or more non-final codingpasses.

In block 608, the multi-pass encoding system adopts the one or more ratecontrol related budgets in coding the final splice in the final codingpass.

In some embodiments, the one or more rate control related budgetsinclude one or more of a quantization parameter, a total number ofheader bits or a total number of texture bits allocated to asplice-level bit stream coded from the final splice.

In some embodiments, the one or more rate control related budgetsinclude one or more coding parameters (e.g., one or more quantizationparameters) to be used by one of the one or more non-final coding passesor by the final coding pass.

In some embodiments, the one or more rate control related budgetscomprises one or more of target bit rates, maximum average bit rates, orone or more constraints related to a reference decoder configured todecode a compressed video bitstream generated in part by the finalcoding pass.

In some embodiments, frames considered in the non-final splice compriseoverlapping frames that overlap with one or more final splicesneighboring the final splices; the information derived from thenon-final splice in the one or more non-final coding passes comprises anindication of the complexity of the one or more final splices. Themulti-pass encoding system is further configured to increase allocatedbits to the final splice in response to determining that the indicationof complexity informs that the final splice is of a higher complexitythan that of the one or more final splices neighboring the final splicesand to reduce allocated bits to the final splice in response todetermining that the indication of complexity informs that the finalsplice is of a lower complexity than that of the one or more finalsplices neighboring the final splices.

In some embodiments, the final splice is processed by a chain ofprocessing, which comprises one or more of non-final rate controlmodules or a final rate control module. In some embodiments, the chainof processing performs rate control operations on the final splicewithout communicating with other chains of processing comprising otherrate control modules; here, the other chains of processing perform ratecontrol operations on other final splices in the plurality of finalsplices. In some embodiments, the chain of processing performs ratecontrol operations on the final splice by communicating with at leastone of other chains of processing comprising other rate control modulesthat perform rate control operations on other final splices in theplurality of final splices.

In some embodiments, at least one of the one or more non-final codingpasses generates statistics about overall content or complexity of theinput video content.

In some embodiments, at least one of the one or more non-final codingpasses comprises a different number of splices than that in the finalcoding pass.

In some embodiments, the multi-pass encoding system is furtherconfigured to perform receiving processing capabilities of a referencedecoder; and adjusting the one or more rate control related budgetsbased at least in part on the processing capabilities of the referencedecoder.

In some embodiments, the multi-pass encoding system is furtherconfigured to perform at least one of temporal subsampling operations orspatial subsampling operations on the non-final splice; and generate theinformation derived from the non-final splice based on subsampled framesin the non-final splice.

In some embodiments, both the non-final splice and the final splice aremembers in a set of corresponding splices, each member of the set from adifferent coding pass among the non-final coding passes and the finalcoding pass; a first coding pass is before a second coding pass amongthe non-final coding passes and the final coding pass; and first framesconsidered in a first splice in the set of corresponding splices in thefirst coding pass are more than second frames considered in a secondsplice in the set of corresponding splices in the second coding pass.

In some embodiments, the non-final splice belongs to a coding passimmediately preceding the final coding pass; the one or more ratecontrol related budgets are generated by modifying one or more previousrate control related budgets derived in a second non-final splicebelonging to a second coding pass before the coding pass.

In some embodiments, frames considered in the non-final splice comprisesnon-overlapping frames that do not overlap with one or more finalsplices neighboring the final splices and overlapping frames thatoverlap with the one or more final splices neighboring the finalsplices; the information derived from the non-final splice in the one ormore non-final coding passes comprises one or more bit budgets allocatedfor coding the non-overlapping frames only. In some other embodiments,the information derived from the non-final splice in the one or morenon-final coding passes comprises one or more bit budgets allocated forcoding both the non-overlapping frames and the overlapping frames.

In some embodiments, at least two coding passes, among the one or morenon-final coding passes and the final coding pass, comprise multiplesplices, respectively. In some embodiments, at least one of the one ormore non-final coding passes comprises a single splice for the entireinput video sequence.

In some embodiments, the multi-pass encoding system is furtherconfigured to perform converting one or more input images represented,received, transmitted, or stored with one or more input video signalsinto one or more output VDR images represented, received, transmitted,or stored with one or more output video signals.

In some embodiments, the input video sequence comprises image dataencoded in at least one of: a high dynamic range (HDR) image format, aRGB color space associated with the Academy Color Encoding Specification(ACES) standard of the Academy of Motion Picture Arts and Sciences(AMPAS), a P3 color space standard of the Digital Cinema Initiative, aReference Input Medium Metric/Reference Output Medium Metric (RIMM/ROMM)standard, an sRGB color space, a RGB color space, or a YCbCr colorspace.

In various example embodiments, an encoder, a decoder, a system, anapparatus, or one or more other computing devices performs any or a partof the foregoing methods as described.

5. IMPLEMENTATION MECHANISMS—HARDWARE OVERVIEW

According to one embodiment, the techniques described herein areimplemented by one or more special-purpose computing devices. Thespecial-purpose computing devices may be hard-wired to perform thetechniques, or may include digital electronic devices such as one ormore application-specific integrated circuits (ASICs) or fieldprogrammable gate arrays (FPGAs) that are persistently programmed toperform the techniques, or may include one or more general purposehardware processors programmed to perform the techniques pursuant toprogram instructions in firmware, memory, other storage, or acombination. Such special-purpose computing devices may also combinecustom hard-wired logic, ASICs, or FPGAs with custom programming toaccomplish the techniques. The special-purpose computing devices may bedesktop computer systems, portable computer systems, handheld devices,networking devices or any other device that incorporates hard-wiredand/or program logic to implement the techniques.

For example, FIG. 7 is a block diagram that illustrates a computersystem 700 upon which an example embodiment of the invention may beimplemented. Computer system 700 includes a bus 702 or othercommunication mechanism for communicating information, and a hardwareprocessor 704 coupled with bus 702 for processing information. Hardwareprocessor 704 may be, for example, a general purpose microprocessor.

Computer system 700 also includes a main memory 706, such as a randomaccess memory (RAM) or other dynamic storage device, coupled to bus 702for storing information and instructions to be executed by processor704. Main memory 706 also may be used for storing temporary variables orother intermediate information during execution of instructions to beexecuted by processor 704. Such instructions, when stored innon-transitory storage media accessible to processor 704, rendercomputer system 700 into a special-purpose machine that is customized toperform the operations specified in the instructions.

Computer system 700 further includes a read only memory (ROM) 708 orother static storage device coupled to bus 702 for storing staticinformation and instructions for processor 704. A storage device 710,such as a magnetic disk or optical disk, is provided and coupled to bus702 for storing information and instructions.

Computer system 700 may be coupled via bus 702 to a display 712, such asa liquid crystal display, for displaying information to a computer user.An input device 714, including alphanumeric and other keys, is coupledto bus 702 for communicating information and command selections toprocessor 704. Another type of user input device is cursor control 716,such as a mouse, a trackball, or cursor direction keys for communicatingdirection information and command selections to processor 704 and forcontrolling cursor movement on display 712. This input device typicallyhas two degrees of freedom in two axes, a first axis (e.g., x) and asecond axis (e.g., y), that allows the device to specify positions in aplane.

Computer system 700 may implement the techniques described herein usingcustomized hard-wired logic, one or more ASICs or FPGAs, firmware and/orprogram logic which in combination with the computer system causes orprograms computer system 700 to be a special-purpose machine. Accordingto one embodiment, the techniques herein are performed by computersystem 700 in response to processor 704 executing one or more sequencesof one or more instructions contained in main memory 706. Suchinstructions may be read into main memory 706 from another storagemedium, such as storage device 710. Execution of the sequences ofinstructions contained in main memory 706 causes processor 704 toperform the process steps described herein. In alternative embodiments,hard-wired circuitry may be used in place of or in combination withsoftware instructions.

The term “storage media” as used herein refers to any non-transitorymedia that store data and/or instructions that cause a machine tooperation in a specific fashion. Such storage media may comprisenon-volatile media and/or volatile media. Non-volatile media includes,for example, optical or magnetic disks, such as storage device 710.Volatile media includes dynamic memory, such as main memory 706. Commonforms of storage media include, for example, a floppy disk, a flexibledisk, hard disk, solid state drive, magnetic tape, or any other magneticdata storage medium, a CD-ROM, any other optical data storage medium,any physical medium with patterns of holes, a RAM, a PROM, and EPROM, aFLASH-EPROM, NVRAM, any other memory chip or cartridge.

Storage media is distinct from but may be used in conjunction withtransmission media. Transmission media participates in transferringinformation between storage media. For example, transmission mediaincludes coaxial cables, copper wire and fiber optics, including thewires that comprise bus 702. Transmission media can also take the formof acoustic or light waves, such as those generated during radio-waveand infra-red data communications.

Various forms of media may be involved in carrying one or more sequencesof one or more instructions to processor 704 for execution. For example,the instructions may initially be carried on a magnetic disk or solidstate drive of a remote computer. The remote computer can load theinstructions into its dynamic memory and send the instructions over atelephone line using a modem. A modem local to computer system 700 canreceive the data on the telephone line and use an infra-red transmitterto convert the data to an infra-red signal. An infra-red detector canreceive the data carried in the infra-red signal and appropriatecircuitry can place the data on bus 702. Bus 702 carries the data tomain memory 706, from which processor 704 retrieves and executes theinstructions. The instructions received by main memory 706 mayoptionally be stored on storage device 710 either before or afterexecution by processor 704.

Computer system 700 also includes a communication interface 718 coupledto bus 702. Communication interface 718 provides a two-way datacommunication coupling to a network link 720 that is connected to alocal network 722. For example, communication interface 718 may be anintegrated services digital network (ISDN) card, cable modem, satellitemodem, or a modem to provide a data communication connection to acorresponding type of telephone line. As another example, communicationinterface 718 may be a local area network (LAN) card to provide a datacommunication connection to a compatible LAN. Wireless links may also beimplemented. In any such implementation, communication interface 718sends and receives electrical, electromagnetic or optical signals thatcarry digital data streams representing various types of information.

Network link 720 typically provides data communication through one ormore networks to other data devices. For example, network link 720 mayprovide a connection through local network 722 to a host computer 724 orto data equipment operated by an Internet Service Provider (ISP) 726.ISP 726 in turn provides data communication services through the worldwide packet data communication network now commonly referred to as the“Internet” 728. Local network 722 and Internet 728 both use electrical,electromagnetic or optical signals that carry digital data streams. Thesignals through the various networks and the signals on network link 720and through communication interface 718, which carry the digital data toand from computer system 700, are example forms of transmission media.

Computer system 700 can send messages and receive data, includingprogram code, through the network(s), network link 720 and communicationinterface 718. In the Internet example, a server 730 might transmit arequested code for an application program through Internet 728, ISP 726,local network 722 and communication interface 718.

The received code may be executed by processor 704 as it is received,and/or stored in storage device 710, or other non-volatile storage forlater execution.

6. EQUIVALENTS, EXTENSIONS, ALTERNATIVES AND MISCELLANEOUS

In the foregoing specification, example embodiments of the inventionhave been described with reference to numerous specific details that mayvary from implementation to implementation. Thus, the sole and exclusiveindicator of what is the invention, and is intended by the applicants tobe the invention, is the set of claims that issue from this application,in the specific form in which such claims issue, including anysubsequent correction. Any definitions expressly set forth herein forterms contained in such claims shall govern the meaning of such terms asused in the claims. Hence, no limitation, element, property, feature,advantage or attribute that is not expressly recited in a claim shouldlimit the scope of such claim in any way. The specification and drawingsare, accordingly, to be regarded in an illustrative rather than arestrictive sense.

What is claimed is:
 1. A method to communicate a video sequence, themethod comprising: accessing at least one non-transitory storage medium;the at least one non-transitory storage medium storing: (i) a firstcompressed segment for a first portion of the video sequence, the firstcompressed segment compressed at a first bit rate constraint; (ii) asecond compressed segment for the first portion of the video sequence,the second compressed segment compressed at a second bit rateconstraint; and (iii) a third compressed segment for a second portion ofthe video sequence; and communicating the second and third compressedsegments in a high dynamic range image format, wherein the first andsecond periods are non-overlapping, and the first and second bit rateconstraints differ.
 2. The method of claim 1, wherein the first bit rateconstraint is one or more of a first bit rate value, a first bit ratemaximum value, and a first bit rate maximum average value, and thesecond bit rate constraint is one or more of a second bit rate value, asecond bit rate maximum value, and a second bit rate maximum averagevalue.
 3. The method of claim 2, wherein the first bit rate constraintcomprises the first bit rate maximum value, and the first bit ratemaximum value is 768 kbps.
 4. The method of claim 1, further comprisingusing information from multiple non-final coding passes to meet bit rateconstraints in a final coding pass.